import http from '@/utils/http'

const BASE_URL = '/musician/musicianUtils'

export interface MusicianQsBindResp {
    url: string
    songName: string
    singerName: string
    albumName: string
}

export interface MusicianQsMusicResp {
    downloadUrl: Array<string>
}

export interface MusicianQsMusicQuery {
    urls: Array<string>
}

/** @desc 查询音乐人绑定列表 */
export function getQsMusicMusician(query: MusicianQsMusicQuery) {
    return http.get<MusicianQsMusicResp>(BASE_URL, query)
}
